$(document).ready(function(){
	//register router table
	Q.reg([
			['login',function(){
				$("#main").load("view/login.htm");
			}],
			['register',function(){
				$("#main").load("view/register.htm");
			}],
			['forgot',function(){
				$("#main").load("view/forgot.htm");
			}],
	]);

	//register pop function
	Q.reg('pop',function(L){
		$("#loading").fadeIn();
	});

	Q.init({
		index:'login'
	});
	//index nav infomation
});
